
public class VibrationMotor extends Device{

	/****************************************
	 * Constructor
	 ****************************************/
	public VibrationMotor(int address, iCATch316 iCatch) {
		super(address, iCatch);
	}
	
	// Methods
	/****************************************
	 * Turn vibration motor on
	 ****************************************/
	public void on() {
		iCatch.vibrationMotorOn(address);
	}
	
	
	/****************************************
	 * Turn vibration motor off
	 ****************************************/
	public void off() {
		iCatch.vibrationMotorOff(address);
	}
	
	
	/****************************************
	 * Vibrate
	 ****************************************/
	public void vibrate() {
		this.on();
		SocWear.sleep(200);
		this.off();
	}
	
}
